package com.bl.weilan.dao.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by liangweikang on 19/6/24.
 */
@Entity
@Data
@Table(name = "information_type")
@ApiModel(value = "InformationTypeEntity", description = "信息")
@DynamicInsert
@DynamicUpdate
public class InformationTypeEntity {
    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;
}
